
// 建立表情映射
type origin = {
    url: string,
    name: string,
    type: any
}
var expressionMap = new Map<string, origin>();
// expressionMap.set('eye1', { url: 'sprite/paojie', name: 'paojieface_01', type: cc.SpriteAtlas });
// expressionMap.set('eye2', { url: 'sprite/paojie', name: 'paojieface_02', type: cc.SpriteAtlas });
// expressionMap.set('mouth1', { url: 'sprite/paojie', name: 'paojiemouth_01', type: cc.SpriteAtlas });
// expressionMap.set('mouth2', { url: 'sprite/paojie', name: 'paojiemouth_02', type: cc.SpriteAtlas });

function setExpressionMap(flag: any, content: origin) {
    expressionMap.set(flag, content);
}

export { origin, setExpressionMap, expressionMap }